﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM.Common
{
    public class CustomMenu:CustomTree,ICloneable
    {
        private string _imageurl;
        private string _navigateurl;
        private int _sortindex;
        private string _remark;

        public string NavigateUrl
        {
            get { return _navigateurl; }
            set { _navigateurl = value; }
        }

        public string ImageUrl
        {
            get { return _imageurl; }
            set { _imageurl = value; }
        }

        public int SortIndex
        {
            get { return _sortindex; }
            set { _sortindex = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public CustomMenu()
        { }

        private CustomMenu(CustomMenu menu)
            :base(menu)
        {
            ImageUrl = menu.ImageUrl;
            NavigateUrl = menu.NavigateUrl;
            SortIndex = menu.SortIndex;
            Remark = menu.Remark;
        }
        public object Clone()
        {
            CustomMenu menu = new CustomMenu(this);
            return menu;
        }
    }
}
